#include <iostream>

struct X {
    char id;
    char *ptr;
};

#define PRINT_NAME(name) std::cout << "sizeof(" << #name << ")=" << sizeof(name) << std::endl;

int main(int argc, const char *argv[])
{
    PRINT_NAME(X);
    return 0;
}
